import { useParams } from "react-router-dom";

type Props = {};

export default function CateEdit1({}: Props) {
  const params = useParams(); //提取动态路由参数

  return (
    <>
      <div>Link跳转携带的params参数,{params.id}</div>
    </>
  );
}
